package uk.ac.ncl.teach.ex.immut;

import java.util.Date;

/** 
 * Person - interface for person with read-only get methods .
 *
 * @author Nick Cook &lt;nick.cook@ncl.ac.uk&gt;
 * @version svn: $Revision: 1498 $<br />
 * $Date: 2010-11-09 15:39:26 +0000 (Tue, 09 Nov 2010) $<br />
 * Copyright (C) 2008 Newcastle University, UK
 */

public interface Person {
    /**
     * Get the name.
     *
     * @return the name of the person
     */
    public Name getName();
    
    /**
     * Get the date of birth.
     *
     * @return the date of birth of the person
     */
    public Date getDateOfBirth();
}
